﻿function queryString(name) {
    var value = "";
    var str = window.location.search.substring(1);
    var s = str.split("&");
    for(var i =0; i<  s.length; i++){
        var u = s[i].split("=");
        if(u[0] == name){
            value = u[1];
            break;
        }        
    }
    return value;
}
